home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / lsrches.zip / LASER.DOC next >
Text File  |  1988-09-29  |  16KB  |  382 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                    Laser Chess
  8.  
  9.                                    Mike Duppong
  10.                             PC version by Tim Midkiff
  11.  
  12.           "Laser Chess" won First Prize in our $10,000 programming
  13.           contest for COMPUTE!'s Atari ST Disk & Magazine. Laser Chess is a
  14.           two-player strategy game patterned after traditional chess--with
  15.           some fascinating new twists. The original version was written in
  16.           Modula-2 for the Atari ST. The PC version of Laser Chess was
  17.           written and compiled with Microsoft's QuickBASIC compiler. It
  18.           runs on any IBM PC, XT, AT, or compatible with a Color/Graphics
  19.           Adapter and a color monitor. The disk filename is LASER.EXE.
  20.  
  21.  
  22.           "Laser Chess," as the name implies, is a chess-like strategy
  23.           game for two players. The goal is to manipulate a laser-firing
  24.           piece and various reflective objects to eliminate your opponent's
  25.           king. As in traditional chess, there are many ways to accomplish
  26.           this.
  27.  
  28.               There are eight basic types of pieces in Laser Chess, and
  29.           each has unique capabilities. Over time, you'll learn each
  30.           piece's advantages and limitations. Obviously, the more you play
  31.           Laser Chess, the more you'll understand the pieces in your
  32.           arsenal, which in turn will make you a better player.
  33.  
  34.  
  35.           A Geometric Army
  36.  
  37.           When the game starts, you'll see the game pieces on the playing
  38.           board. Some sides of certain pieces are highlighted. This
  39.           indicates a reflective surface. When a laser beam strikes a
  40.           reflective surface, it bounces off without harming the piece. But
  41.           if a piece is hit by a laser on a nonreflective surface, it is
  42.           destroyed.
  43.  
  44.               A piece can also be removed from the board if it is captured
  45.           by an opposing piece. This is similar to traditional chess; to
  46.           capture a piece, you simply move one of your own pieces onto its
  47.           square.
  48.  
  49.               In addition to having the ability to move from square to
  50.           square, pieces with reflective surfaces can also be rotated in
  51.           place in 90-degree increments. This lets you orient the piece to
  52.           protect it against opposing laser shots or to set up bounce shots
  53.           with your own laser.
  54.  
  55.               The king is the most important piece in Laser Chess. (The
  56.           king is the center piece in the back row.) When the king is
  57.           eliminated, the other player wins the game. Since it has no
  58.           reflective surfaces, the king can be destroyed by a laser from
  59.           any angle. It can also be captured by an opposing piece. The king
  60.           is not totally defenseless, however. It can capture any opposing
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.           piece by moving onto its square. But you can use it for a capture
  68.           only once per turn.
  69.  
  70.               The second most important piece is the laser. (The laser is
  71.           the gun-shaped piece next to the king.) This piece is your
  72.           primary offensive weapon; it's the only piece which can fire a
  73.           laser shot. To take aim, you can rotate it in place at 90-degree
  74.           angles. Like the king, the laser is completely vulnerable to
  75.           enemy laser strikes because it has no reflective surfaces. If you
  76.           lose your laser, the game is not over, but only the most skillful
  77.           (or incredibly lucky) player can overcome its loss.
  78.  
  79.  
  80.           Tricky Pieces
  81.  
  82.               The hypercube, the box next to the king, is an interesting
  83.           piece. It can't harm an opposing piece directly, but may very well
  84.           do so indirectly. When the hypercube is moved onto another piece
  85.           (even your own), that piece disappears from its original position
  86.           and reappears on a randomly selected empty square. This can be done
  87.           only once per turn. Thus, the hypercube is a two-edged sword; it
  88.           may relocate a piece to a vulnerable position or make it possible
  89.           for the piece to capture an important opposing piece on the next
  90.           move.
  91.  
  92.               The hypercube has no reflective surfaces and cannot be
  93.           rotated. It is invulnerable to laser shots, however, because it's
  94.           made of transparent glass--a laser beam passes right through it.
  95.           But the hypercube is vulnerable to capture by other pieces--even
  96.           your own. The hypercube relocates a piece only when it is moved
  97.           onto the other piece; moving a block or a king onto the hypercube
  98.           will eliminate it from the board. Remember that.
  99.  
  100.               The beam splitter, the piece in front of the laser, is
  101.           another tricky piece. When a laser beam strikes a splitter's
  102.           vertex (the point opposite its base), the beam splits in half.
  103.           The two new beams travel in opposite directions, perpendicular to
  104.           the original beam's path. When a laser shot hits one of the beam
  105.           splitter's reflective surfaces, it bounces off at a 90-degree
  106.           angle without splitting. If the beam splitter's base is hit by a
  107.           laser shot, it is destroyed. The beam splitter can be rotated.
  108.  
  109.               Blocks, the four solid boxes in the front row, are fairly
  110.           simple pieces. However, they may impose some complex situations.
  111.           A block can capture any opposing piece by moving onto that
  112.           piece's square, much like a king. But unlike a king, a block has
  113.           one reflective side and can be rotated as the situation demands.
  114.           Therefore, blocks can be used either offensively or defensively.
  115.           A laser beam that hits the reflective surface of a block is
  116.           deflected 180 degrees--bouncing the beam back where it came from.
  117.  
  118.               A diagonal mirror cannot be destroyed by a laser because both
  119.           of its surfaces are reflective. There are two diagonal mirrors:
  120.           one next to the hypercube and one next to the laser. Diagonal
  121.  
  122.  
  123.  
  124.                                         - 2 -
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.           mirrors can be removed from the board only when captured by a
  132.           block or a king. When a laser beam strikes a diagonal mirror, the
  133.           beam is deflected 90 degrees. Diagonal mirrors can be flipped to
  134.           their opposite diagonal, but they cannot be rotated to face
  135.           horizontally or vertically.
  136.  
  137.               The horizontal/vertical mirrors, known as straight mirrors,
  138.           are also invulnerable to lasers because of their reflective
  139.           surfaces. (There are two straight mirrors. One is located in
  140.           front of the hypercube. The other can be found in front of the
  141.           king.) When a laser hits a straight mirror on its flat surface,
  142.           the beam is deflected 180 degrees. If the laser hits a straight
  143.           mirror edgewise, the beam passes straight through it. A straight
  144.           mirror can be rotated so that it's either horizontal or vertical,
  145.           but not diagonal.
  146.  
  147.               The triangular mirrors, which can be rotated in 90-degree
  148.           increments, deflect laser beams just as diagonal mirrors do, but
  149.           they are vulnerable to hits on their two nonreflective sides.
  150.           There are six triangular mirrors: four in the back row and two in
  151.           the front.
  152.  
  153.  
  154.           Making Moves
  155.  
  156.           In a game of Laser Chess, players take turns making moves, just
  157.           as in regular chess. However, a turn in Laser Chess consists of
  158.           two moves. The color of the border (either cyan or magenta)
  159.           surrounding the playing board indicates whose turn it is and the
  160.           thickness of the border indicates how many moves remain in that
  161.           turn (a thick border indicates two moves; a thin border, one).
  162.  
  163.               The magenta player (at the bottom of the screen) always gets
  164.           the first move. There's no particular advantage or disadvantage
  165.           to moving first.
  166.  
  167.                All game functions are controlled with the keyboard. Before
  168.           moving or rotating a piece, you must select it. This is done by
  169.           moving a cursor to the piece's square. At the beginning of each
  170.           turn, the cursor is always positioned on the square at the very
  171.           center of the board. (This square is special for another reason,
  172.           too, which we'll explain in a moment.)  You can move the cursor
  173.       anywhere on the playing board by pressing the usual cursor-arrow
  174.           keys. To select a piece, move the cursor to its square and press
  175.           Enter. When the piece is selected, a checkerboard pattern appears
  176.           around it.
  177.  
  178.               If you accidentally select the wrong piece, you can deselect
  179.           it by pressing Enter again. (This won't cost you a move.)
  180.           Deselecting is usually done after rotating a piece. More on this
  181.           in a moment.
  182.  
  183.               After you've selected a piece, your next decision is whether
  184.           to move or rotate it. To move a piece, simply position the cursor
  185.           on the destination square and press Enter. Moving a distance of
  186.  
  187.  
  188.  
  189.                                         - 3 -
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.           one square takes one move; moving two squares takes two moves.
  197.           (To save time, you can move a piece two squares in one step, but
  198.           it still counts as two moves.) Since you have only two moves per
  199.           turn, the maximum distance a piece can be moved in one turn is
  200.           two squares.
  201.  
  202.               Pieces can be moved forward, backward, left, or right, but
  203.           not diagonally. Of course, you can effectively move a piece
  204.           diagonally by using two moves--forward and right, for instance.
  205.           You can even do this in a single action by simply positioning the
  206.           cursor on the adjacent diagonal square and pressing Enter; if
  207.           there's a clear path, the computer moves the piece to the square
  208.           and charges you two moves (one full turn).
  209.  
  210.               You cannot move a piece through other pieces. The only
  211.           exceptions are captures with blocks and kings, and moves of the
  212.           hypercube as described above.
  213.  
  214.           Rotating a Piece
  215.  
  216.               To rotate a piece, select it and press the space bar. If it's
  217.           not legal to rotate that particular piece, the program won't let
  218.           you.  Otherwise, the piece rotates 90 degrees (one-quarter turn)
  219.           clockwise. You may continue rotating the piece to any desired
  220.           position before deselecting it by pressing Enter again.
  221.  
  222.               Rotating a piece to face any direction takes only one move,
  223.           and the move is subtracted only after the piece has been
  224.           deselected. If you deselect the piece in its original position,
  225.           the program recognizes this and does not subtract a move. This
  226.           lets you cancel a rotation if you change your mind.
  227.  
  228.           Special Features
  229.  
  230.               As mentioned above, the square at the very center of the board--
  231.           called a hypersquare--is special. It absorbs laser beams and
  232.           relocates any piece that moves onto it. The piece disappears from
  233.           its original position and reappears randomly on an empty square.
  234.           This may be done only once per turn, however.
  235.  
  236.               Laser Chess has additional keyboard controls which are
  237.           available at any time between moves.
  238.  
  239.               The S key turns the sound effects on or off. Normally
  240.           they're off. There aren't many sound effects in Laser Chess,
  241.           since it's mainly a thinking game, but you can turn them on if
  242.           you want.
  243.  
  244.               The R key lets you restart a game without finishing the
  245.           current game. (For instance, a player may be so hopelessly behind
  246.           that he or she wants to resign.) The program asks you to confirm
  247.           this choice by pressing Y for yes or N for no.
  248.  
  249.  
  250.  
  251.  
  252.  
  253.                                         - 4 -
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.               The Q key lets you quit a game in progress and return to
  261.           DOS. Again, the program asks you to press Y or N for
  262.           confirmation.
  263.  
  264.           Firing the Laser
  265.  
  266.               To fire a laser shot, select your laser piece and press the L
  267.           key. The laser beam remains on the screen long enough for you to
  268.           observe its path (sometimes it bounces in directions you didn't
  269.           foresee).
  270.  
  271.               Of course, you won't necessarily be firing the laser on every
  272.           turn. Much of the strategy in Laser Chess involves moving and
  273.           rotating your pieces to set up complex shots. It's important to
  274.           realize that any laser hit on a piece's nonreflective or
  275.           nontransparent surface will destroy that piece. You can destroy
  276.           your own pieces just as easily as you can destroy your
  277.           opponent's. You can even zap your own laser, particularly if you
  278.           fire directly into the 180-degree reflective surface of a
  279.           straight mirror or block, or if you fail to anticipate the
  280.           effects of a beam splitter. Be forewarned.
  281.  
  282.  
  283.           Laser Chess Strategy
  284.  
  285.               As in the conventional game of chess, much of the strategy in
  286.           Laser Chess revolves around thoughtful placement of your pieces.
  287.           However, the character of the game differs from that of chess in
  288.           many ways. The laser, for example, can strike at long distances
  289.           and in more than one direction at once. And the hypercube adds an
  290.           extra element of uncertainty. The best strategy for any
  291.           particular game depends to a great extent on the skill and
  292.           personality of your opponent. However, here are some general tips
  293.           you may find helpful.
  294.  
  295.               Get your mirrors out early. Use them to gain the fullest
  296.           potential of your laser. Try to position mirror networks on both
  297.           sides of the beam splitter so you can inflict as much damage as
  298.           possible.
  299.  
  300.               Take advantage of the blocks. Since they "control" an area
  301.           around them with their threat of capture, no other pieces can
  302.           safely move within their range. Make your opponent work to
  303.           displace them. Remember to rotate the reflective side of a block
  304.           to the most probable direction of laser fire. If you can prevent
  305.           a laser from destroying the block, your opponent will most likely
  306.           have to gang up on it with two or more of his or her own blocks.
  307.  
  308.               Use mirrors to protect your king. If you surround your king
  309.           with straight and diagonal mirrors, there is no way it can be hit
  310.           by a laser. Therefore, your opponent will have to break through
  311.           your defense with blocks. (This is a pretty dirty trick when all
  312.           of your opponent's blocks have been destroyed, since your king is
  313.  
  314.  
  315.  
  316.  
  317.                                         - 5 -
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.           almost invulnerable.) Defending your king with blocks is also a
  325.           good strategy.
  326.  
  327.               The hypercube should be used sparingly since you have no idea
  328.           where a relocated piece will reappear. Most players use the
  329.           hypercube as a last resort: If a piece is going to be destroyed
  330.           anyway, it doesn't hurt to take a chance and relocate it with the
  331.           hypercube. Also, if your opponent's king is encircled with
  332.           mirrors, you can march right in with your hypercube, followed by
  333.           a block. This tactic may displace your opponent's defense,
  334.           forcing your opponent to evacuate the king from its mirrored
  335.           fortress. Escorting the hypercube with an adjacent block prevents
  336.           the opponent from attacking the hypercube with his or her king.
  337.           Your opponent's only options will be to flee or be displaced.
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.                                         - 6 -
  382.